package com.edu.service.impl;
/*
 * @Author:princess
 * @Date 2023/11/9 11 09 11:41
 *
 */

import com.edu.bean.Book;
import com.edu.mapper.BookMapper;
import com.edu.service.BookService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class BookServiceImpl implements BookService {
    @Resource
    private BookMapper bookMapper;
    @Override
    public List<Book> selectAllBooks() {
        return bookMapper.selectAllBooks();
    }
}
